Average sentence length |
---|
12.6470 |
sentence length | percentage |
---|---|
2 | 0.0133 |
3 | 0.8233 |
4 | 2.8767 |
5 | 4.6833 |
6 | 6.0367 |
7 | 7.0267 |
8 | 7.6600 |
9 | 7.5867 |
10 | 7.5700 |
11 | 6.5833 |
12 | 6.3200 |
13 | 5.4867 |
14 | 5.2400 |
15 | 4.5967 |
16 | 4.1600 |
17 | 3.5967 |
18 | 2.9667 |
19 | 2.4633 |
20 | 2.2433 |
21 | 1.8967 |
22 | 1.7833 |
23 | 1.4800 |
24 | 1.3067 |
25 | 1.1000 |
26 | 1.0000 |
27 | 0.8067 |
28 | 0.6400 |
29 | 0.4733 |
30 | 0.4300 |
31 | 0.3967 |
32 | 0.2433 |
33 | 0.1867 |
34 | 0.1567 |
35 | 0.0700 |
36 | 0.0333 |
37 | 0.0167 |
38 | 0.0233 |
39 | 0.0100 |
40 | 0.0067 |
41 | 0.0033 |
43 | 0.0033 |
Next we measure the length of a sentence by its number of words. Again, we are interested in average length and length distribution.
See above.
For simplicity, the number of words in a sentence is calculated as 1+(Number of blanks in the sentence).
Average length:
select avg(1+char_length(sentence)-char_length( replace(sentence," ",""))) from sentences;
Distribution:
SELECT @all:=count(*) from sentences;
select 1+char_length(sentence)-char_length( replace(sentence," ","")), 100*count(*)/@all from sentences where 50>=1+char_length(sentence)-char_length(replace(sentence," ",""))group by 1+char_length(sentence)-char_length( replace( sentence," ",""));
4.2.1 Length of sentences in characters